//
//  CGLWebImageCompat.h
//  UI26_综合(多线程_ Block_沙盒_MD5_通知中心)
//
//  Created by 李劲成 on 16/4/14.
//  Copyright © 2016年 ljc. All rights reserved.
//

#import <TargetConditionals.h>
#ifdef __OBJC_GC__
#error SDWebImage does not support Objective-C Garbage Collection
#endif

#if __IPHONE_OS_VERSION_MIN_REQUIRED != 20000 && __IPHONE_OS_VERSION_MIN_REQUIRED < __IPHONE_5_0
#error SDWebImage doesn't support Deployment Target version < 5.0
#endif

#if !TARGET_OS_IPHONE
#import <AppKit/AppKit.h>
#ifndef UIImage
#define UIImage NSImage
#endif
#ifndef UIImageView
#define UIImageView NSImageView
#endif
#else

#import <UIKit/UIKit.h>

#endif

#ifndef NS_ENUM
#define NS_ENUM(_type, _name) enum _name : _type _name; enum _name : _type
#endif

#ifndef NS_OPTIONS
#define NS_OPTIONS(_type, _name) enum _name : _type _name; enum _name : _type
#endif

#if OS_OBJECT_USE_OBJC
#undef CGLDispatchQueueRelease
#undef CGLDispatchQueueSetterSementics
#define CGLDispatchQueueRelease(q)
#define CGLDispatchQueueSetterSementics strong
#else
#undef CGLDispatchQueueRelease
#undef CGLDispatchQueueSetterSementics
#define CGLDispatchQueueRelease(q) (dispatch_release(q))
#define CGLDispatchQueueSetterSementics assign
#endif



#pragma mark - Block
typedef void(^CGLWebImageNoParamsBlock)();


